package com.wzweb.entity;

import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.wzweb.dao.util.DBParse;

public class QuestioninfosParse implements DBParse {
	@Override
	public Object parseEntity(ResultSet rs) throws Exception {

		Questioninfos questioninfos = new Questioninfos();
		questioninfos.setContents(rs.getString("contents"));
		questioninfos.setIsDeleted(rs.getInt("isDeleted"));
		questioninfos.setQuestionGroupID(rs.getInt("questionGroupID"));
		questioninfos.setUserID(rs.getInt("userID"));
		questioninfos.setQuestionInfoID(rs.getInt("questionInfoID"));
		questioninfos.setTitle(rs.getString("Title"));
		questioninfos.setAddTime(rs.getString("AddTime"));
		questioninfos.setTag1(rs.getString("Tag1"));
		questioninfos.setTag2(rs.getString("Tag2"));
		questioninfos.setTag3(rs.getString("Tag3"));
		questioninfos.setTag4(rs.getString("Tag4"));
		questioninfos.setTag5(rs.getString("Tag5"));
		return questioninfos;
	}
}
